package com.maoyan.quickdevelop.common.core.domain.dqroom;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "book_info")
public class DqBookInfo implements Serializable {
  private static final long serialVersionUID = 1L;
  @TableId(value = "book_id")
  private Long bookId;
  @TableField(value = "room_id")
  private String roomId;
  @TableField(value = "username")
  private String username;
  @TableField(value = "phone")
  private String phone;
  @TableField(value = "remarks")
  private String remarks;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Date bookDate;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Date endDate;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Date createTime;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Date updateTime;
}
